﻿using System;
using System.Globalization;

namespace IceDog.DNC.Program.Autofac.Services
{
    public class FullDateWriterService : IDateWriterService
    {
        private IOutputService _output;
        public FullDateWriterService(IOutputService output)
        {
            _output = output;
        }

        public void WriteDate()
        {
            _output.Write(DateTime.Today.ToString(CultureInfo.CurrentCulture));
        }
    }
}
